package com.ruoyi.basics.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 库区管理对象 wms_area
 * 
 * @author ruoyi
 * @date 2025-06-09
 */
public class WmsArea extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @Excel(name = "ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /** 所属仓库 */
    @Excel(name = "所属仓库")
    @ExcelProperty("所属仓库")
    private Long warehouseId;

    /** 库区编码 */
    @Excel(name = "库区编码")
    @ExcelProperty("库区编码")
    private String code;

    /** 库区名称 */
    @Excel(name = "库区名称")
    @ExcelProperty("库区名称")
    private String name;

    /** 温度类型 */
    @Excel(name = "温度类型")
    @ExcelProperty("温度类型")
    private String temperatureType;

    /** 承重类型 */
    @Excel(name = "承重类型")
    @ExcelProperty("承重类型")
    private String bearingType;

    /** 用途类型 */
    @Excel(name = "用途类型")
    @ExcelProperty("用途类型")
    private String useType;

    /** 类型 */
    @Excel(name = "类型")
    @ExcelProperty("类型")
    private String type;

    /** 负责人id */
    @Excel(name = "负责人id")
    @ExcelProperty("负责人id")
    private Long personId;

    /** 负责人姓名 */
    @Excel(name = "负责人姓名")
    @ExcelProperty("负责人姓名")
    private String personName;

    /** 联系电话 */
    @Excel(name = "联系电话")
    @ExcelProperty("联系电话")
    private String phone;

    /** 库位数量 */
    @Excel(name = "库位数量")
    @ExcelProperty("库位数量")
    private Long includedNum;

    /** 库区状态 */
    @Excel(name = "库区状态")
    @ExcelProperty("库区状态")
    private Integer status;

    /** 创建人id */
    private Long createUser;

    /** 创建人 */
    private String createName;

    /** 更新人id */
    private Long updateUser;

    /** 更新人 */
    private String updateName;

    /** 逻辑删除 */
    private Integer logicDel;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setWarehouseId(Long warehouseId) 
    {
        this.warehouseId = warehouseId;
    }

    public Long getWarehouseId() 
    {
        return warehouseId;
    }

    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setTemperatureType(String temperatureType) 
    {
        this.temperatureType = temperatureType;
    }

    public String getTemperatureType() 
    {
        return temperatureType;
    }

    public void setBearingType(String bearingType) 
    {
        this.bearingType = bearingType;
    }

    public String getBearingType() 
    {
        return bearingType;
    }

    public void setUseType(String useType) 
    {
        this.useType = useType;
    }

    public String getUseType() 
    {
        return useType;
    }

    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    public void setPersonId(Long personId) 
    {
        this.personId = personId;
    }

    public Long getPersonId() 
    {
        return personId;
    }

    public void setPersonName(String personName) 
    {
        this.personName = personName;
    }

    public String getPersonName() 
    {
        return personName;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setIncludedNum(Long includedNum) 
    {
        this.includedNum = includedNum;
    }

    public Long getIncludedNum() 
    {
        return includedNum;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    public void setCreateUser(Long createUser) 
    {
        this.createUser = createUser;
    }

    public Long getCreateUser() 
    {
        return createUser;
    }

    public void setCreateName(String createName) 
    {
        this.createName = createName;
    }

    public String getCreateName() 
    {
        return createName;
    }

    public void setUpdateUser(Long updateUser) 
    {
        this.updateUser = updateUser;
    }

    public Long getUpdateUser() 
    {
        return updateUser;
    }

    public void setUpdateName(String updateName) 
    {
        this.updateName = updateName;
    }

    public String getUpdateName() 
    {
        return updateName;
    }

    public void setLogicDel(Integer logicDel) 
    {
        this.logicDel = logicDel;
    }

    public Integer getLogicDel() 
    {
        return logicDel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("warehouseId", getWarehouseId())
            .append("code", getCode())
            .append("name", getName())
            .append("temperatureType", getTemperatureType())
            .append("bearingType", getBearingType())
            .append("useType", getUseType())
            .append("type", getType())
            .append("personId", getPersonId())
            .append("personName", getPersonName())
            .append("phone", getPhone())
            .append("includedNum", getIncludedNum())
            .append("status", getStatus())
            .append("remark", getRemark())
            .append("createUser", getCreateUser())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("updateUser", getUpdateUser())
            .append("updateName", getUpdateName())
            .append("updateTime", getUpdateTime())
            .append("logicDel", getLogicDel())
            .toString();
    }
}
